// JavaScript Document

 
  $(window).load(function() { 
           widowsheight();
		 
        });
		/* var h =parseInt(screen.availHeight);*/
	 function widowsheight(){
		 var h =parseInt($(window).height());
		 var w=parseInt(screen.availWidth);
		 var toph=parseInt($(".top").height());
		 var footh=parseInt($(".footer").height());
		 var contenth=parseInt(document.body.clientHeight);
		 var positiontop=h-footh;
		  if(contenth<h){
			   $(".footer").css({'position':'absolute','left':'0','top':positiontop})
			  
			  }

		 }
		 
	  
      
        

        
		
         

